/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package library;

import java.io.FileNotFoundException;
import java.io.IOException;
import library.command.CommandsControl;
import library.shell.JMainWindow;

/**
 *
 * @author MonStar
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    static final String begin = "program is running!";
    static final String end = "main is completed...";

    public static void main(String[] args) throws FileNotFoundException, IOException {
        // TODO code application logic here
        System.out.println(begin + "\n");
        {
            /*File file = new File("test.txt");
            System.out.println(file.createNewFile());
            Desktop desktop = null;
            if (Desktop.isDesktopSupported()) {
                desktop = Desktop.getDesktop();
            }
            desktop.open(file);*/
            CommandsControl.getInstance().execute("remove");
            JMainWindow.main(args);
        }
        System.out.println("\n" + end);
    }
}
